<?php
/**
 * @name: IUserService.class.php 简要描述本类的用途.
 * @package:
 * @author: Liuyi
 * @created: 2/17/17 2:40 PM
 * @copyright: Fiidee. Monda. Cn
 */
namespace api\service\interfaces;
interface IUserService {

    /**
     * @param $username
     * @param $password
     * @return mixed
     */
    public function login($username,$password);

    /**
     * @param $wx_id
     * @return mixed
     */
    public function createUserByWeiXin( $wx_id );

    /**
     * @param $username
     * @param $password
     * @param $wx_id
     * @return mixed
     */
    public function authUser($username,$password,$wx_id);
}